#pragma once

class Chunk;
class World;

class CGame:
	public IGame,
	public IRender
{
public:
	CGame();
	~CGame();

	/*--IGame-------------------------------------------------------------------*/
	virtual void	InitGame();
	virtual void	OnLoopTick();

	/*--IRender-----------------------------------------------------------------*/
	void	OnRender(const RenderTask* renderTask, uint camarg);

	/*--------------------------------------------------------------------------*/
	GLTexture*				m_outputTexture;


	World*					m_world;

	Chunk**					m_chunks;
};

